package cn.silver.module.message.bean;

import cn.silver.framework.mybatis.bean.BusBean;
import cn.silver.module.message.domain.MsgTemplate;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MsgTemplate.class)
@Schema(name = "TemplateBean", title = "消息管理-消息模板对象")
public class TemplateBean extends BusBean {
    @Serial
    private static final long serialVersionUID = 1L;
    /** 发送渠道 */
    @Schema(title = "发送渠道")
    private String channel ;
    /** 模板标题 */
    @Schema(title = "模板标题")
    private String subject ;
    /** 模板内容 */
    @Schema(title = "模板内容")
    private String content ;
}
